package com.learning.spring.cloud.domain.service;

import com.learning.spring.cloud.dto.ProductDto;

import java.util.List;

public interface ProductService {
    ProductDto save(ProductDto productDto);

    ProductDto findByCode(String code);

    List<ProductDto> findAll();
}
